package com.aizhixin.lab.project.course.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;
@Data
public class ProjectStuDomain {
    private String id;
    private Long accountId;
    private String password;
    @ApiModelProperty(value = "账号")
    private String userName;
    @ApiModelProperty(value = "昵称")
    private String name;
    @ApiModelProperty(value = "角色分为：admin,teacher,student")
    private String role;
    private String sex;
    private String jobNum;
    private String phone;
    private String email;
    private Long classId;
    @ApiModelProperty(value = "班级名称")
    private String className;
    @ApiModelProperty(value = "专业Id")
    private Long professionalId;
    @ApiModelProperty(value = "专业Id")
    private String professionalName;
    @ApiModelProperty(value = "学院ID")
    private Long collegeId;
    @ApiModelProperty(value = "学院名称")
    private String collegeName;
    @ApiModelProperty(value = "头像")
    private String avatar;
    @ApiModelProperty(value = "个人简介")
    private String personalProfile;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createdDate;
    @ApiModelProperty(value = "用户状态标识：0-正常，1-删除，2-禁用")
    private Integer deleteFlag;
    @ApiModelProperty(value = "所属班课id")
    private String courseClassId;
    @ApiModelProperty(value = "是否有正在进行的实验")
    private Boolean isRun;
}
